package com.bfly.mall.product.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 产品评论表单
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/15 20:44
 */
public class ProductCommentFormDTO implements Serializable {

    private static final long serialVersionUID = 2740147707863743360L;

    private int parentId;
    @NotBlank(message = "评论内容不能为空!")
    private String content;
    private String orderNo;
    private String sn;
    private float sameScore=5;
    private float serviceScore=5;
    private float shipScore=5;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public float getSameScore() {
        return sameScore;
    }

    public void setSameScore(float sameScore) {
        this.sameScore = sameScore;
    }

    public float getServiceScore() {
        return serviceScore;
    }

    public void setServiceScore(float serviceScore) {
        this.serviceScore = serviceScore;
    }

    public float getShipScore() {
        return shipScore;
    }

    public void setShipScore(float shipScore) {
        this.shipScore = shipScore;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}